Skip to content

[14.0] [ENH] queue_job: identity_key enhancements - #544

Closed
richard-willdooit wants to merge 1 commit into
OCA:14.0from
richard-willdooit:14.0-identity_key_enhancements
Closed

[14.0] [ENH] queue_job: identity_key enhancements#544
richard-willdooit wants to merge 1 commit into
OCA:14.0from
richard-willdooit:14.0-identity_key_enhancements

Conversation

@richard-willdooit

Copy link
Copy Markdown
  1. In production, a job which is waiting dependencies or which has started, but not completed, should not be repeated if the identity_key matches.
  2. In tests, the mock queue handler is now enhanced to allow better mimicking of the identity_key blocks from production.
  3. In tests, the mock queue handler now clears the enqueued jobs after performing them, to better reproduce what a production environment would do.

1. In production, a job which is waiting dependencies or which
has started, but not completed, should not be repeated if
the identity_key matches.
2. In tests, the mock queue handler is now enhanced to allow
better mimicking of the identity_key blocks from production.
3. In tests, the mock queue handler now clears the enqueued jobs
after performing them, to better reproduce what a production
environment would do.
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @guewen,
some modules you are maintaining are being modified, check this out!

@github-actions

Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions Bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 15, 2023

@simahawk simahawk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, @guewen can you have a look?

@simahawk simahawk removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 18, 2023
Comment thread queue_job/job.py
@simahawk

Copy link
Copy Markdown
Contributor

@guewen gentle ping :)

@guewen

guewen commented Nov 14, 2023

Copy link
Copy Markdown
Member

@simahawk I was still expecting this change: #546 (comment)

@richard-willdooit

Copy link
Copy Markdown
Author

@guewen @simahawk Oh dear, guys, many apologies - I will aim to revisit this before the end of the month.

@simahawk

Copy link
Copy Markdown
Contributor

@richard-willdooit I really need to move this fwd. I hope you don't mind if I'm finishing your work on #581

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants